package io.github.l86400.component.selenium.core.web.driver.manager;

import io.github.l86400.component.selenium.core.web.driver.chrome.ChromeDriver;
import io.github.l86400.component.selenium.core.web.driver.chrome.ChromeOptions;
import lombok.AllArgsConstructor;

/**
 * @author 86400
 * @since 2021/12/21 10:40
 */
@AllArgsConstructor
public class ChromeMemoryWebDriverManager extends AbstractMemoryWebDriverManager<ChromeDriver> {
    private ChromeOptions chromeOptions;

    @Override
    public ChromeDriver doGet() {
        return ChromeDriver.createChromeDriver(this.chromeOptions);
    }
}
